const express = require("express");

const app = express();

app.get("/", (req, res) => {
  res.send("首页");
});

app.get("/login", (req, res) => {
  res.send("登录");
});

app.listen(3000, () => {
  console.log("server is running at port 3000");
});
